<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Angular Example</title>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.8.2/angular.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.8.2/angular-route.min.js"></script>
  </head>
  <body>
    <app-root></app-root>

    <script>
      angular.module('myApp', [])
        .component('appRoot', {
          template: `
            <h1>Hello, World!</h1>
            <p>Welcome to my Angular app.</p>
          `
        });

      angular.bootstrap(document, ['myApp']);
    </script>
  </body>
</html>
